package com.dingding.pojo;

import java.util.Date;

public class User {
    private Integer id;

    private String name;

    private String nickName;

    private String password;

    private String email;

    private String phone;

    private Integer subjectId;

    private Integer schoolId;

    private String pictureUrl;

    private Integer role;

    private Date lastLogin;

    private Date createTime;

    private Date updateTime;

    private String question;

    private String answer;

    private Integer status;

    public User(Integer id, String name, String nickName, String password, String email, String phone, Integer subjectId, Integer schoolId, String pictureUrl, Integer role, Date lastLogin, Date createTime, Date updateTime, String question, String answer, Integer status) {
        this.id = id;
        this.name = name;
        this.nickName = nickName;
        this.password = password;
        this.email = email;
        this.phone = phone;
        this.subjectId = subjectId;
        this.schoolId = schoolId;
        this.pictureUrl = pictureUrl;
        this.role = role;
        this.lastLogin = lastLogin;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.question = question;
        this.answer = answer;
        this.status = status;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}